package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("Class")
public class Class {
    //所在学院
    @TableId(value = "CLASS_ID", type = IdType.AUTO)
    private Integer class_id;
    //班级ID
    @TableField(value = "COLLEGE_ID")
    private String college_id;
    //所属专业ID
    @TableField(value = "MAJOR_ID")
    private String major_id;
    //班级名称
    @TableField(value = "CLASS_NAME")
    private String class_name;
    //班级人数
    @TableField(value = "STUDENT_NUMBER")
    private String student_number;
    //辅导员
    @TableField(value = "ADVISER")
    private String adviser;
    //成立时间
    @TableField(value = "ESTAB_DATE")
    private String estab_date;
    //学习年数
    @TableField(value = "YEAR_NUMBER")
    private String year_number;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private String revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private String created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private String update_time;
}
